﻿<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
    <!--作为公共模版分离出去-->
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="Bookmark" href="admin/images/rookieCs.ico" />
    <link rel="Shortcut Icon" href="admin/images/rookieCs.ico" />
    <link rel="stylesheet" type="text/css" href="admin/static/h-ui/css/H-ui.my.css" />
    <link rel="stylesheet" type="text/css" href="admin/static/h-ui.admin.pro.iframe/css/h-ui.admin.pro.iframe.min.css" />
    <link rel="stylesheet" type="text/css" href="admin/lib/Hui-iconfont/1.0.9/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="admin/static/h-ui.admin.pro.iframe/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="admin/lib/jquery-easyui/1.7.0/themes/default/easyui.css" />
    <link rel="stylesheet" type="text/css" href="admin/lib/jquery-easyui/1.7.0/themes/icon.css" />
    <link rel="stylesheet" type="text/css" href="admin/css/iconfont/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="admin/css/mywork.css" />
    <script type="text/javascript" src="admin/lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="admin/lib/layer/3.1.1/layer.js"></script>
    <script type="text/javascript" src="admin/lib/jquery-easyui/1.7.0/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="admin/lib/jquery-easyui/1.7.0/plugins/datagrid-detailview.js"></script>
    <script type="text/javascript" src="admin/lib/jquery-easyui/1.7.0/locale/easyui-lang-zh_CN.js"></script>
    <script>document.write('<script type="text/javascript" src="admin/js/common.js?v='+ Date.now() +'"><\/script>');</script>
    <script>document.write('<script type="text/javascript" src="admin/js/formatter.js?v='+ Date.now() +'"><\/script>');</script>
    <!--作为公共模版分离出去-->
    <title>岗位信息</title>
</head>
<body style="width: auto; height: auto;font-family: 微软雅黑,serif">
<!--表单元素-->
<div style="padding: 10px 10px 0px 50px">
    <form id="formInfo" method="post" style="display: none">
        <input id="id" name="id" type="hidden">
        <table class="formTable">
            <tr>
                <td class="labelTd">上级岗位/部门：</td>
                <td class="valueTd"><input id="pId" name="pId" /></td>
            </tr>
            <tr>
                <td class="labelTd">岗位名称：</td>
                <td class="valueTd"><input id="name" name="name" /></td>
            </tr>
            <tr>
                <td class="labelTd">描述：</td>
                <td class="valueTd"><input id="remark" name="remark"/></td>
            </tr>
        </table>
    </form>
</div>
<script type="text/javascript">
    //准备函数
    $(function () {
        initForm();
    });

    //表单元素初始化
    function initForm() {
        $("#pId").combotree({
            width: 250,
            required: true,
            prompt: "请选择上级岗位/部门",
            validType: "length[1,20]",
            panelHeight: 160,
            editable: false,
            url: "role/getParentRoleList",
            queryParams: {},
            loadFilter: function (data) {
                return data.bizData;
            }
        });
        $("#name").textbox({
            width: 250,
            required: true,
            prompt: "请输入岗位名称",
            validType: "length[1,20]"
        });
        $("#remark").textbox({
            width: 250,
            height: 100,
            multiline: true,
            validType: "length[0,200]"
        });
        $("#formInfo").show();
    }
</script>
</body>
</html>